.dialog {
    width: 100%;
    position: relative;
}

.mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(126,126,126,0.3);
}
.content {
    background: white;
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    position: relative;
    top: 0;
}
